package com.tanhua.service;

import com.tanhua.model.domain.UserInfo;
import com.tanhua.model.vo.PageResult;

import java.util.List;
import java.util.Map;

/**
 * @author げっしょく
 * @date 2021/10/23
 */
public interface UserInfoApi {

    void save(UserInfo userInfo);

    void updateById(UserInfo userInfo);

    UserInfo getUserById(Long userID);

    Map<Long, UserInfo> getByUserIds(List<Long> userIds, UserInfo userInfo);

    Map getByIds(List<Long> users);

    PageResult getUserPageUser(Integer page, Integer pagesize);
}
